Multi-stage continuous integration